/**
 * 
 */
package at.sphinx.androgen.transferobjects;

import java.util.Date;

import javax.xml.bind.annotation.XmlRootElement;

/**
 * 
 * @author cschaefer
 */
@XmlRootElement 
public class Person {

	private String id;
	private String firstname;
	private String lastname;
	private Date dob;
	
	public Person() {
		
	}
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getFirstname() {
		return firstname;
	}
	public void setFirstname(String firstname) {
		this.firstname = firstname;
	}
	public String getLastname() {
		return lastname;
	}
	public void setLastname(String lastname) {
		this.lastname = lastname;
	}
	public Date getDob() {
		return dob;
	}
	public void setDob(Date dob) {
		this.dob = dob;
	}
	
	@Override
	public String toString() {
		return "id:" + id + " firstname: " + firstname + " lastname: " + lastname + " dob:" + dob + ";";
	}
	
}
